﻿@namespace BlazorSerialUpload
@inherits LayoutComponentBase

<AntDesign.ProLayout.BasicLayout 
    Logo="@("https://gw.alipayobjects.com/zos/rmsportal/KDpgvguMpGfqaHPjicRK.svg")"
    MenuData="_menuData">
    <RightContentRender>
    </RightContentRender>
    <ChildContent>
        @Body
    </ChildContent>
    <FooterRender>
        <FooterView Copyright="置富科技（深圳）股份有限公司版权所有" Links="Links"></FooterView>
    </FooterRender>
</AntDesign.ProLayout.BasicLayout>
<SettingDrawer />

@code
{
    private readonly MenuDataItem[] _menuData =
    [
       
        new MenuDataItem
        {
        Path = "/",
        Name = "固件上传",
        Key = "固件上传",
        Icon = "smile",
        }
    ];

    public LinkItem[] Links { get; set; } =
    [
        new LinkItem
        {
            Key = "置富科技",
            Title = "置富科技",
            Href = "https://www.futurepath.com.cn/",
            BlankTarget = true,
        }
    ];
}